// http://base2.googlecode.com/svn/doc/base2.html#/doc/!base2.Base

var registeredGameType=new Array();
function getGameType()
{
	var a = java.lang.reflect.Array.newInstance(java.lang.String, registeredGameType.length);
	for ( i=0 ;i<registeredGameType.length; i++ )
		a[i] = new java.lang.String(registeredGameType[i]);
	print ( a);
	return a;
}
function registerGameType(game)
{
	print("registerGameType["+game+"]");
	registeredGameType.push(game);
}
var Game = Base.extend ( {
	name: "",
	constructor: function(name) {
		this.name = name;
	},
	getXMLDescription: function() {
	}
});
